﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestShop.aspx.cs" Inherits="VINETLIFE.TestShop" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
    <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript">
//        $(document).ready(function () {
//            $("[id*=btnPopup]").live("click", function () {
//                $("#dialog").dialog({
//                    title: "jQuery Dialog Popup",
//                    buttons: {
//                        Close: function () {
//                            $(this).dialog('close');
//                        }
//                    }
//                });
//                return false;
//            });
//        });
    </script>
</head>
<body>
    <form id="form1" runat="server">

    <div>
        <asp:Button ID="btnPopup" runat="server" Text="Button" onclick="Button1_Click" />
    </div>

    <div id="dialog" style="display: none">
        Thông tin giỏ hàng
        <asp:Repeater ID="rpProduct" runat="server">
            <ItemTemplate>
                <label><%#Eval("Name") %></label>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>


    <ul id="other" runat="server">
        <li class="newproduct">
            <div class="heading">
                <div class="heading1">
                    <h2 class="heading2">
                        <span>SẢN PHẨM CÙNG LOẠI</span></h2>
                    <span class="heading3">
                        <img src="/images/TopBike---V2.png" alt="Next" title="images"/></span> <a href="#" id="prev" class="prev"
                            style="float: right; margin-right: 35px;">
                            <img src="/images/prev.png" width="13px" height="30px" alt="Previous" title="Previous" /></a>
                    <a href="#" id="next" class="next" style="float: right; margin-right: -26px; margin-top: 2px;">
                        <img src="/images/next.png" width="13px" height="30px" alt="Next" title="Next"/></a>
                </div>
            </div>
            <div class="foo-new-product">
                <asp:Repeater ID="rpListProduct" runat="server">
                    <ItemTemplate>
                        <div class="product">
                            <img src='/Media/<%#Eval("ProductImage") %>' alt='/Media/<%#Eval("ProductImage") %>' />
                            <a href='/san-pham/<%#VINETLIFE.Ultility.Change_AV(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                title='<%#Eval("ProductTitle") %>'>
                                <p style="color: #0940a7; font-size: 13px">
                                    <%#Eval("ProductTitle") %></p>
                            </a>
                            <div class="giohang">
                                <p style="color: #f71010; font-size: 13px; font-weight: bold; padding-top: 2px">
                                    <%#Eval("Price","{0:0,0}") %></p>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div class="clear">
            </div>
        </li>
    </ul>
